var mongoose = require('mongoose')
mongoose.connect('mongodb://localhost:27017/baicai').then(res=>{
  console.log('ok')
}).catch(err=>{
  console.log(err)
})

module.exports = mongoose